package club.framework.web.application.shiro.mapper;

import club.framework.web.application.sys.menu.entity.Menu;
import club.framework.web.application.sys.resource.entity.Resource;
import club.framework.web.application.sys.role.entity.Role;
import club.framework.web.application.sys.user.entity.User;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @date 2017/9/27.
 * @Email:sunmch@163.com
 * @author: 念梓
 * des:
 */

public interface ShiroMapper {

    public List<Menu> queryMenuByUserId(int id);

    public List<Resource> queryResourceByUserId(int id);

    public List<Role> queryRoleByUserId(int id);

    public User queryUser(Map<String,String> userLoginArgs);
}
